<template>
  <el-config-provider :button="button">
    <router-view />
  </el-config-provider>
</template>

<script lang="ts" setup>
import { useTheme } from '_hooks'
// import zhCn from 'element-plus/lib/locale/lang/zh-cn'
import { ref } from 'vue'
const { initTheme } = useTheme()
initTheme()
/** 将 Element Plus 的语言设置为中文 */
// const locale = ref(zhCn)
const button = ref({ autoInsertSpace: true })
</script>
